package com.hmall.model;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "mall_shipping")
public class MallShipping {
    @Id
    private Integer id;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 收货姓名
     */
    @Column(name = "receiver_name")
    private String receiverName;

    /**
     * 收货固定电话
     */
    @Column(name = "receiver_phone")
    private String receiverPhone;

    /**
     * 收货移动电话
     */
    @Column(name = "receiver_mobile")
    private String receiverMobile;

    /**
     * 省份
     */
    @Column(name = "receiver_province")
    private String receiverProvince;

    /**
     * 城市
     */
    @Column(name = "receiver_city")
    private String receiverCity;

    /**
     * 区/县
     */
    @Column(name = "receiver_district")
    private String receiverDistrict;

    /**
     * 详细地址
     */
    @Column(name = "receiver_address")
    private String receiverAddress;

    /**
     * 邮编
     */
    @Column(name = "receiver_zip")
    private String receiverZip;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "MemberToken")
    private String membertoken;

    /**
     * 是否被选中，被选中：1，未被选中：0
     */
    @Column(name = "Selected")
    private Integer selected;

    /**
     * 0表示不是默认值，1表示是默认值
     */
    @Column(name = "default_check")
    private Integer defaultCheck;

    @Column(name = "del_flag")
    private Integer delFlag;

}